//用户登录接口
export interface loginFormData{
    username: string,
    password: string
}
export interface ResponseData {
    code: number,
    message: string,
    ok: boolean
}
export interface loginResponseData extends ResponseData {
    data: string
}
export interface userInfoResponseData extends ResponseData {
    data: {
        roles: string[],//角色权限
        buttons: string[],//按钮权限
        routes: string[],//路由权限
        name: string,//用户名
        avatar: string,//用户头像
    }
}
